13. When to Use Idling Resources

When to Use Idling Resources

Select all the situations in which we should implement Idling Resources when testing the app with Espresso

SOLUTION:
  • A photo-altering app uses an IntentService to download and process images and returns the result to the activity via a Broadcast.
  • A smoothie shop is constantly changing the menu in their mobile ordering app. When the user opens the app to order, it downloads an image and description for each menu item.
  • In order to log into a banking app, users must enter their username and password, information that needs to be authenticated via an external client. A response of whether or not the request was successful is sent back to the user’s device.